package com.tang.nacos.dao;

import com.tang.nacos.dto.UserDto;
import com.tang.nacos.dto.UserResp;
import java.util.HashMap;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @Author tanglingyu
 * @Date: 2021/03/08/ 16:56
 * @Description
 */
public interface UserDao {

  List<UserDto> findAll();

  List<UserResp> getUserListByRoleId(@Param("roleId") Long roleId);

  void save(@Param("userDto") UserDto userDto);

  void save2(@Param("list") List<HashMap<String, String>> list);
}
